﻿namespace FileSecurityManager.DataAccess.Exceptions
{
    internal class ExceptionMessages
    {
        internal const string NoConnectionStringInConnStringSection =
            "There is \"{0}\" no connection string in <connectionStrings> section of configuration file.";

        internal const string CouldNotReadConnectionString =
            "Could not read '{0}' connection string from <connectionStrings> section of configuration file. {1}.";

        internal const string ConnectionStringIsEmpty =
            "'{0}' connection string is empty in <connectionStrings> section of configuration file.";

        internal const string RepositoryInitFailed = "Sql Repository Initialization failed.\n";

        internal const string ConnectionStringEmpty = "The 'connectionString' parameter is null or empty.\n";

        internal const string ModelIsNullMessage = "Model object could not be null.\n";
        internal const string DataContextIsNullMessage = "Data Context object could not be null.\n";
        internal const string EntityIsNullMessage = "Entity object could not be null.\n";

        internal const string RoleToRoleModelFailed = "Role to RoleModel conversion failed.\n {0}.\n";
        internal const string RoleModelToRoleFailed = "Role Model to Role conversion failed.\n {0}.\n";
        internal const string UserToUserModelFailed = "User to UserModel conversion failed.\n {0}.\n";
        internal const string UserModelToUserFailed = "User Model to User conversion failed.\n {0}.\n";
        
    }
}
